<ion-header>
    <ion-toolbar>
        <ion-buttons start>
            <button ion-button (click)="dismiss()">
        <span ion-text style="color: #f4f4f4;" showWhen="ios">关闭</span>
        <ion-icon name="md-close" showWhen="android,windows"></ion-icon>
      </button>
        </ion-buttons>
          </ion-toolbar>
</ion-header>
<ion-content>
    <div ng-model="pick"></div>
    <ion-card>
        <ion-list>
    <ion-item ion-datetime-picker ng-model="datetimeValue">
        {{datetimeValue| date: "yyyy-MM-dd H:mm:ss"}}
    </ion-item>
</ion-list>
        <ion-list>
             <ion-item>
                <ion-label color="black">开始时间</ion-label>
                <ion-input type="date"  placeholder="开始时间" [(ngModel)]="starttime" ng-value="starttime"></ion-input>
                
            </ion-item>
              <ion-item>
              <ion-label color="black">结束时间</ion-label>
                <ion-input type="date"  placeholder="结束时间" [(ngModel)]="endtime" ng-value="endtime"></ion-input>
            </ion-item>
             <ion-item>
                <ion-label color="black">工程名字</ion-label>
                <ion-input #input style="color: #000;" [(ngModel)]="Situation" placeholder="工程名字"></ion-input>
            </ion-item>
             <ion-item>
                <ion-label color="black">工程内容</ion-label>
                <ion-textarea style="color: #000;height:30px;" [(ngModel)]="SupervisionWork" placeholder="工程内容"></ion-textarea>
            </ion-item>
              <ion-item style="height:60px;">
                <ion-label color="black">备注</ion-label>
                
                <ion-textarea style="color: #000;height:40px;" [(ngModel)]="Remarks" placeholder="备注"></ion-textarea>
            </ion-item>
           
            <ion-item>
                <ion-label>上传照片</ion-label>
            </ion-item> 
            <ion-item text-center>

            </ion-item>
            <ion-item>
                <ion-img  *ngFor="let item of profilePicture.localstr; let iindex = index" [src]="item" (click)="openOfficial(iindex)" style="width: 100px; height: 100px;margin: 5px auto;border-radius: 5% ;"></ion-img>
                <ion-icon *ngIf="profilePicture.localstr.length<3" (click)="openOfficial('')" ios="ios-camera" md="md-camera" style="font-size: 3em"></ion-icon>
            </ion-item>
         
                      <ion-item>
                <button ion-button block style="height: 2.8em" (click)="advisesubmit()">提交</button>
            </ion-item>
        </ion-list>
    </ion-card>
</ion-content>
